import tcdIO.Terminal;

	class IntReaderProgram {

	public static void main(String[] args) {
		Terminal terminal1;
		IntReader intrd;
		
		terminal1 = new Terminal();
		
		intrd = new IntReader(terminal1.readChar(),terminal1.readChar(),terminal1.readChar());
		
		intrd.convert();

		terminal1.println("" + intrd.getfinalInt());

	}

}
